import {RouteRecordRaw} from "vue-router";
import Layout from "@/layouts/layout-index.vue";

// 用户管理模块路由配置
export default {
    path: '/login',
    name: 'Login',
    component: Layout,
    meta: {
        order: 5,
        title: "登录注册",
        icon: 'UserFilled',
    },
    children: [
        {
            path: '/login/normal',
            name: 'LoginNormal',
            component: () => import('@/views/login/normal/LoginNormal.vue'),
            meta: {
                title: "常规登录",
            },
        },
        {
            path: '/login/glass',
            name: 'LoginGlass',
            component: () => import('@/views/login/glass/LoginGlass.vue'),
            meta: {
                title: "高级登录",
            },
        },
        {
            path: '/register/normal',
            name: 'Role',
            component: () => import('@/views/login/normal/RegisterNormal.vue'),
            meta: {
                title: "常规注册",
            },
        },
        {
            path: '/register/glass',
            name: 'Role',
            component: () => import('@/views/login/glass/RegisterGlass.vue'),
            meta: {
                title: "高级注册",
            },
        },
        {
            path: '/login/demo1',
            name: 'LoginDemo1',
            component: () => import('@/views/login/demo1/DemoLogin.vue'),
            meta: {
                title: "登录示例1",
            },
        },
    ],
} as RouteRecordRaw;
